<?php
class Dangki extends Vnf_Db_Table{
    protected $_name;
    protected $_primary = 'dangki_id';

    function __construct() {
        $this->_name = DB_PREFIX . "dangki";
        parent::__construct(); 
    }    
    public function getPrimaryKey() {
        $pk = $this->_primary;
        if (is_array($pk)) {
            if (count($pk) > 0)
                return $pk[1]; // array[1] contain column name of primary key
        }
        return $this->_primary;
    }   
}
?>
